package org.jeecg.modules.inspect.service;

import org.jeecg.modules.inspect.entity.InsClassesLine;
import org.jeecg.modules.inspect.entity.InsClassesUser;
import org.jeecg.modules.inspect.entity.InsClassesCommon;
import org.jeecg.modules.inspect.entity.InsClassesSpecial;
import org.jeecg.modules.inspect.entity.InsClasses;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 班次管理
 * @Author: jeecg-boot
 * @Date:   2024-03-10
 * @Version: V1.0
 */
public interface IInsClassesService extends IService<InsClasses> {

	/**
	 * 添加一对多
	 *
	 * @param insClasses
	 * @param insClassesLineList
	 * @param insClassesUserList
	 * @param insClassesCommonList
	 * @param insClassesSpecialList
	 */
	public void saveMain(InsClasses insClasses,List<InsClassesLine> insClassesLineList,List<InsClassesUser> insClassesUserList,List<InsClassesCommon> insClassesCommonList,List<InsClassesSpecial> insClassesSpecialList) ;
	
	/**
	 * 修改一对多
	 *
   * @param insClasses
   * @param insClassesLineList
   * @param insClassesUserList
   * @param insClassesCommonList
   * @param insClassesSpecialList
	 */
	public void updateMain(InsClasses insClasses,List<InsClassesLine> insClassesLineList,List<InsClassesUser> insClassesUserList,List<InsClassesCommon> insClassesCommonList,List<InsClassesSpecial> insClassesSpecialList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
